<?php
require_once 'dataCenter.php';
require_once 'MJDMTask.php';
require_once 'MJDMUser.php';
require_once 'common.php';

log_action("In Page : ".__FILE__);
if(!isset($_SESSION)){session_start();}

$tasklist = GetUserTasksInfo();
$taglist = $tasklist->Taglist();

$taglist_outputs = "<ul class='tags'>\n";

foreach ($taglist as $tag) 
{
	if(strlen($tag) > 0)
	{
		$taglist_outputs .= "\t\t\t\t\t<li><span class=\"before\"></span><span class='tag'>$tag</span><span class=\"after\"></span></li>\n";
	}
}
$taglist_outputs .= "\t\t\t\t</ul>\n";


echo $taglist_outputs;